package com.dhcc.bpm.modules.safe.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.bpm.modules.safe.entity.AppGateway;
import com.dhcc.bpm.modules.safe.vo.AppGatewayVO;

/**
 * @ClassName IAppGatewayService
 * @Description 网关访问控制渠道关联表 服务类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IAppGatewayService extends IService<AppGateway> {

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 9:47 2020/3/3
	 * @param page
	 * @param appGateway
	 * @return IPage<AppGatewayVO>
	 **/
	IPage<AppGatewayVO> selectAppGatewayPage(IPage<AppGatewayVO> page, AppGatewayVO appGateway);

	/**
	 * @Description 批量选择渠道
	 * @Author daina
	 * @Date 9:47 2020/3/3
	 * @param opcControlId
	 * @param ids
	 * @return java.lang.Boolean
	 **/
	Boolean batchControllerApp(Long opcControlId, String ids);

	/**
	 * @Description 批量取消渠道
	 * @Author daina
	 * @Date 9:47 2020/3/3
	 * @param opcControlId
	 * @param ids
	 * @return int
	 **/
	int deleteApps(Long opcControlId, String ids);
}
